package com.bupt.jack.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionSupport;

public class BaseAction extends ActionSupport{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3454450120139355179L;
	
	protected HttpServletRequest getServletRequest(){
		
		return ServletActionContext.getRequest();
	
	}
	
	protected HttpServletResponse getServletResponse(){
		
		return ServletActionContext.getResponse();
		
	}
}
